{
    "Header": {
      "dmsName": "DEP-AMS",
      "dmsVersion": "1.0",
      "userId": "USR0001",
      "dealerCode": "100001"
    },
    "repairOrderHeader": {
      "inAcresNumeric": "100",
      "inBalesNumeric": "10000",
      "inEngOperatingHours": "1300",
      "inThreshingHoursNumeric": "5200",
      "outAcresNumeric": "101",
      "outBalesNumeric": "10001",
      "outEngOperatingHours": "1301",
      "outThreshingHoursNumeric": "5201",
      "jobCountNumeric": "6",
      "laborActualHoursNumeric": "36",
      "locationID": "1000000001",
      "orderNotes": "Reoccurring Brake Issues, please fix urgently!",
      "vehicleAcceptanceDate": "2022-08-05T14:00:00+02:00",
      "repairStartDate": "2022-08-05T14:00:00+02:00",
      "promisedRepairCompletionDateTime": "2022-08-05T14:36:00+02:00",
      "repairEndDate": "2022-08-05T14:36:00+02:00",
      "repairOrderCompletedDateTime": "2022-08-05T14:36:00+02:00",
      "repairOrderInvoiceDateTime": "2022-08-06T14:36:00+02:00",
      "repairOrderOpenedDateTime": "2022-08-05T00:00:00+02:00",
      "appointmentType": "workshop",
      "dateAppointmentInitiated": "17.01.2039",
      "documentIdentificationGroup": {
        "alternateDocumentIdentification": {
          "agencyCodeRole": "DMS",
          "documentID": "100000001"
        }
      },
      "dealerParty": {
        "locationID": "0000000001",
        "specifiedOrganization": {
          "ownershipgroupID": "100001"
        }
      },
      "ownerParty": {
        "dealerManagementSystemID": "000560",
        "privacy": {
          "privacyIndicator": "False",
          "MarketingAgreementTime": ""
        },
        "specifiedOrganization": {
          "companyName": "Test Company",
          "primaryContact": {
            "id": "30000000",
            "telephoneCommunication": [{
              "channelCode": "Cellphone - Call",
              "completeNumber": "1111111111",
              "countryNumberCode": "+1",
              "useCode": "Home"
            }],
            "uriCommunication": [{
              "channelCode": "email",
              "uriId": "test@cnhind.com"
            }],
            "postalAddress": {
              "cityName": "Racine",
              "countryID": "USA",
              "lineOne": "621 Test Street",
              "lineTwo": "PO Box 123",
              "lineThree": "WI",
              "lineFour": "",
              "lineFive": "",
              "postcode": "53402"
            }
          }
        }
      },
      "repairOrderVehicle": {
        "vehicle": {
          "vehicleID": "XXXXXXXXXXXXXXXXX",
          "manufacturerName": "CaseIH",
          "model": "Magnumâ„¢ 340 AFS Connectâ„¢",
          "modelDescription": "Magnumâ„¢ 340 AFS Connectâ„¢/P",
          "registrationID": "XXXXG27",
          "vehicleNote": "el.code: 7.1.5.6.5mech.code: DE07921R&W: Ruderes;",
          "MachineDown": "Yes",
          "MachineDownTime": "2010-12-10T00:00:00+01:00"
        }
      },
      "serviceAdvisorParty": {
        "specifiedOrganization": {
          "locationID": "0000000001"
        },
        "specifiedPerson": {
          "id": "AB70",
          "familyName": "Webb",
          "givenName": "James"
        }
      },
      "status": {
        "code": "appointmentPrepared",
        "time": "2022-08-05T13:26:22+02:00"
      },
      "user": {
        "specifiedOrganization": {
          "familyName": "Webb",
          "givenName": "James",
          "companyName": "Test Compant",
          "locationID": "0000000001",
          "specifiedPerson": {
            "id": "6542",
            "familyName": "Webb",
            "givenName": "James"
          }
        }
      },
      "warranty": {
        "warrantyNotes": "",
        "warrantyStartDate": "17.01.2022",
        "warrantyStartTime": "989"
      }
    },
    "jobs": [{
      "addedOnRepair": "True",
      "addedAsResultOfInspection": "",
      "laborActualHour": "120",
      "lineNumber": "2",
      "operationID": "O85DR9LBFF08",
      "operationName": "Lamp replacement",
      "jobCompletionDate": "2022-08-05T14:36:00+02:00",
      "partNameCodeDescription": "Track Pivot Cap Kit",
      "partNameCodeId": "MPAGA1320A",
      "codeAndComments": [{
        "causeDescription": "A bolt was loose near the exhaust",
        "complaintDescription": "Might be marten damage",
        "correctionDescription": "I fastened the bolt and inspected the engine. Everything worked fine afterwards",
        "defectCode": "AB00754",
        "internalNotes": "Waiting for a new shippments of screws and bolts. Cannnot start the repair until shipment arrived"
      }],
      "diagnostic": [{
        "failureCode": "000",
        "failureDescription": "Debris"
      }],
      "serviceCampaigns": [{
        "campaignNumber": "CA1320",
        "description": "ADDITION OF THREAD LOCKER TO PIVOT BOLTS"
      }],
      "serviceComponents": [{
        "dmsId": "O85DR9UGVET8",
        "serviceCode": "W007",
        "serviceDescription": "Travel to Customer",
        "serviceType": "Travel",
        "quantity": "1",
        "unittype": "Miles",
        "pricing": {
          "price": {
            "chargeAmount": "14.25",
            "TotalPriceDiscount": "0"
          }
        },
        "tax": {
          "ratePercent": "0.0",
          "taxAmount": "0.0"
        }
      }],
      "serviceLabor": [{
        "dmsId": "O85DR9XCD7VE",
        "laborAdditionalHours": "1.5",
        "laborAllowanceHours": "1.5",
        "laborOperationCode": "763023104",
        "laborOperationDescription": "R-I HEADLAMP",
        "manufacturerName": "CaseIH",
        "laborRateAmount": "100.00",
        "pricing": {
          "price": {
            "chargeAmount": "112.00",
            "TotalPriceDiscount": "2.0"
          }
        },
        "tax": {
          "ratePercent": "0.0",
          "taxAmount": "0.0"
        }
      }],
      "serviceParts": [{
        "dmsId": "O85DR9JJ7PAW",
        "itemDescription": "VARIOUS ITEMS HEADLAMPS",
        "itemID": "69501536",
        "manufacturerName": "CaseIH",
        "quantity": "1",
        "pricing": {
          "price": {
            "chargeAmount": "112.00",
            "TotalPriceDiscount": "2.0"
          }
        },
        "tax": {
          "ratePercent": "0.0",
          "taxAmount": "0.0"
        },
        "replacementSerialNumber": [{
          "originalSerialNumber": "",
          "replacementSerialNumber": ""
        }]
      }],
      "sublet": [{
        "pricing": {
          "price": {
            "chargeAmount": "112.00",
            "TotalPriceDiscount": "2.0"
          },
          "providerName": "",
          "subletCode": "",
          "subletWorkDescription": ""
        },
        "tax": {
          "ratePercent": "0.00",
          "taxAmount": "0.00"
        }
      }],
      "jobPlanifications": [{
        "allocatedPlanHour": "",
        "planStartDateTime": "",
        "serviceTechnicianParty": [{
          "specifiedPerson": {
            "familyName": "Ospital",
            "givenName": "Patrick",
            "id": "W75958B"
          }
        }]
      }],
      "jobStatus": {
        "statusCode": "ToDo",
        "technicianStartsJobSignInDate": "2022-08-19T10:17:00+02:00",
        "technicianFinishesJobSignInDate": "2022-08-19T10:17:00+02:00"
      },
      "splits": {
        "typeCode1": "Retail",
        "typeCode2": ""
      },
      "invoiceDateTime": "2022-08-10T14:00:00+02:00",
      "warrantyClaimNumber": "",
      "warrantyType": "",
      "workshopInvoiceNumber": "0000",
      "Inspection": [{
        "CompletionDate": "2022-08-10T14:00:00+02:00",
        "Questions": "",
        "serviceAdvisorParty": {
          "PartyDto": "test"
        },
        "InspectionGroup": [{
          "Description": "test"
        }],
        "InspectionQuestion": [{
          "Description": "test",
          "Type": "switch",
          "minValue": "0",
          "maxValue": "0",
          "Result": "0"
        }]
      }]
    }]
}
  